<?php
/*interface para las clases driver de los distintos motores*/
interface Gi_Driver_Interface {
  public function __construct ($driver, $host, $db = null, $port=null, $user=null, $pass=null, $driver_options = null);
  
  public function error_code ();
  
  public function error_info ();
  
  public function execute ($sql);
  
  public function last_insert_id ($name = null);
  
  public function prepare ($sql , $opt = null);
  
  public function get_db_handler ();
  
  public function begin_transaction ();
  
  public function commit ();
  
  public function roll_back();
  
  public function close ();

  public function fetch_assoc ();
  
  public function stmt_fetch_assoc();
  
  public function stmt_execute($sql,array $params=null);
  
  public function get_table_metadata ($table,$db=null);
  
  public function get_db_metadata ($db=null);
}
?>
